package com.dhc.appbusinessfrm.task;

/**
 * Created by xy on 2015/6/18.
 */
public class PriorityAsyncTask<T> extends AsyncTask implements PriorityTask{

    private int priority=PRIORITY_NORMAL;

    @Override
    public int getPriority() {
        return priority;
    }

    @Override
    public PriorityTask priority(int priority) {
        this.priority=priority;
        return this;
    }

    @Override
    public void beforeExecute() {

    }

    @Override
    public void onExecute(TaskLocker locker) {

    }

    @Override
    public void afterExecute() {

    }


}
